package com.dl.designmodel.adapter;

import com.dl.designmodel.bridge1.Color;

/**
 * @ProjectName: mcroservices
 * @Package: com.dl.designmodel.adapter
 * @ClassName: ObjectAdapter
 * @Author: 86977
 * @Description: ${description}
 * @Date: 2021/6/28 16:57
 * @Version: 1.0
 */
public class ObjectAdapter implements Target {
  private  Adaptee adaptee;

  public ObjectAdapter(Adaptee adaptee) {
    this.adaptee = adaptee;
  }

  @Override
  public void request() {
    adaptee.adapteeMethod();
  }
}
